package com.jctrip.hotel.source.model.dossen;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: beihai
 * @Date: 2022/9/22 17:19
 * @Description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DossenCheckPriceAndCountReq {
    /**
     * 酒店ID
     */
    @NotBlank
    private String hotelId;

    /**
     * 房型ID
     */
    @NotBlank
    private String roomTypeId;

    /**
     * 入住时间
     */
    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String checkInDate;

    /**
     * 离店时间
     */
    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String checkOutDate;

    /**
     * 为 true 展示限时活动(默认不展示)
     */
//    private Boolean isShowTimeLimitActivity;

    /**
     * 活动码
     */
    @NotBlank
    private String activityCode;

    /**
     * 预定间数
     */
    @NotNull
    private Integer num;


    /**
     * 企业会员协议code
     */
    @NotBlank
    private String enterpriseProtocolCode;
}
